<template>
    <p>{{ counter.count }}</p>

    <p>{{ counter.doubleCount }}</p>

    <button @click="counter.increment">修改数据</button>
</template>

<script setup>
import { useCounterStore } from '../stores/counter.js'

const counter = useCounterStore()

</script>

<style scoped>

</style>